import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "/",
    redirect: "/pixi",
  },
  {
    path: "/pixi",
    name: "pixi",
    component: () => import(/* webpackChunkName: "pixi" */ "../views/Pixi.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
